<seed-content class="  gray-background" [class.white-background]="!stateStore.haveData">
  <seed-toolbar-header>
    <seed-toolbar-title>选择上课班级</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <seed-calendar-header [btnConfig]="btnConfig" [defaultType]="'week'"
                        (confirm)="getCalendarTime($event)"></seed-calendar-header>
  <seed-infinite-scroll (infiniteScroll)="getClassListForIdentityType()">
    <div class="class-list" *ngIf="classes.length>0">
      <div class="list-header  seed-flexbox seed-flexbox-align-center">
        <h2 class="title">上课班级</h2>
      </div>
      <class-item *ngFor="let class of classes"
                  [class]="class"
                  (clicked)="goToTarget(class)"
      ></class-item>
    </div>
    <seed-default-graph *ngIf="!stateStore.haveData"
                        [text]="'暂无班级'"
                        [url]="'unifyPic'"
    ></seed-default-graph>
    <seed-infinite-scroll-content class="seed-transparent" *ngIf="classes.length>0"></seed-infinite-scroll-content>
  </seed-infinite-scroll>
</seed-content>
